package cn.mystyle.common.constant;

/**
 * @author clark
 * 默认接口地址
 */
public class DefaultURI
{
    /**
     * 查询
     */
    public static final String URI_QUERY = "query";
    
    /**
     * 添加
     */
    public static final String URI_ADD = "add";
    
    /**
     * 更新
     */
    public static final String URI_UPDATE = "update";
    
    /**
     * 删除
     */
    public static final String URI_DEL = "del";
    
    /**
     * 用户接口地址 key
     * @param uriSuffix
     * @return String
     */
    public static String getUserURIKey(String uriSuffix)
    {
        return "user." + uriSuffix;
    }
    
    /**
     * 记一笔接口地址 key
     * @param uriSuffix
     * @return String
     */
    public static String getRecordURIKey(String uriSuffix)
    {
        return "record." + uriSuffix;
    }
}
